package com.andy.mvp.poetry.dagger;

import com.andy.mvp.poetry.PoetryActivity;
import com.andy.mvp.poetry.presenter.ProetryPresenter;

import dagger.Module;
import dagger.Provides;

/**
 * @version V1.0
 * @描述:
 * @Company:
 * @auth: Created by AN .
 * @time: 2020/3/27 19:00
 * @des
 */
@Module
public class ProetryPresenterModules {
    PoetryActivity poetryActivity;

    public ProetryPresenterModules(PoetryActivity poetryActivity) {
        this.poetryActivity = poetryActivity;
    }

    @Provides
    public ProetryPresenter providerProetryPresenter(){
        return new ProetryPresenter(poetryActivity);
    }
}
